//
//  BLMy_Cell_Meet.m
//  Byelone
//
//  Created by 乔小乔 on 2021/2/2.
//

#import "BLMy_Cell_Meet.h"

@implementation BLMy_Cell_Meet

- (void)awakeFromNib {
    [super awakeFromNib];
    
    [self.viewBj setShadowRadius:5 color:BL_COLOR_PURPLE_L(0.12) offset:CGSizeMake(0, 0) opacity:1];
    
    self.imgHeader.layer.cornerRadius = 20;
    self.imgHeader.layer.masksToBounds = YES;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (void)reloadWithData:(id)model{
    self.labelTitle.text = @"会议室预定";
    self.labelStatus.text = @"已通过";
    self.labelName.text = @"秀妍";
    
    
    NSMutableAttributedString *string = [[NSMutableAttributedString alloc] initWithString:@"163cm｜48kg｜28岁｜420-40万"];

//    [string addAttributes:@{NSFontAttributeName: [UIFont fontWithName:@"Source Han Sans CN" size: 10]} range:NSMakeRange(12, 23)];

    self.labelDesc.attributedText = string;
    self.labelAdress.text = @"会议室：北京市朝阳区望京SOHO\n地  址：北京市朝阳区望京SOHO";
    [self.imgHeader sd_setImageWithURL:[NSURL URLWithString:@"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1608119459540&di=bcb81fe82037df80789f275fe4416590&imgtype=0&src=http%3A%2F%2Fpic3.nipic.com%2F20090512%2F492281_113059064_2.jpg"]];
}
- (IBAction)clickAction:(id)sender {
    if (self.myBlock) {
        self.myBlock();
    }
}
@end
